<?php

/**
 * Created by PhpStorm.
 * User: TomTaylor
 * Date: 2014.04.14.
 * Time: 11:45
 */
class Date
{
    public $year;
    public $month;
    public $day;

    function __construct($day, $month, $year)
    {
        $this->day = $day;
        $this->month = $month;
        $this->year = $year;
    }

    function __toString()
    {
        return $this->day . "-" . $this->month . "-" . $this->year;
    }


} 